﻿using System.Diagnostics;

namespace Bookvar.ServiceModel
{
    internal static class Assert
    {
        [Conditional( "DEBUG" )]
        public static void NotNull( object var )
        {
            Debug.Assert( var != null );
        }

        [Conditional( "DEBUG" )]
        public static void NotEmpty( string str )
        {
            Debug.Assert( !string.IsNullOrEmpty( str ) );
        }
    }
}